package com.edu.system.domain.req;

import com.edu.common.annotation.Excel;
import com.edu.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 发布
 *
 * @author xxxx
 * @date 2023-12-31
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PublishDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private List<Long> ids;

    /**
     * 类型: 1通知 2校园风采
     */
    private Integer publishType;

    /**
     * 发布范围类型 1:班级 2:班牌组
     */
    private Integer publishScope;

    /**
     * 班级id/班牌组id
     */
    private String scopeIds;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
